package com.example.carrierapp.ui.person.modifyphone;

import com.example.carrierapp.bean.person.ImageCodeBean;

/**
 * Created by Administrator on 2017/1/4.
 */
public interface ModifyPhoneContract {
    interface Presenter {
        void getImgaeCode(boolean firstStep);

        void getMessageCode(String phone, String imageCode, String guide, boolean isChangePhone);

        void changePhone(String phone, String newPhone, String newPhoneCode);

        void nextStep(String phone, String imageCode, String guide, String phoneCode);
    }

    interface View {
        //显示数据
        void getImgaeCodeSuccess(boolean firstStep, ImageCodeBean searchCarBean);

        //显示搜索词条
        void getImgaeCodeField(String msg);

        //显示数据
        void getMessageCodeSuccess();

        //显示搜索词条
        void getMessageCodeField(String msg);

        void changePhoneSuccess();
        //显示搜索词条
        void changePhoneField(String msg);

        void nextStepSuccess();

        //显示搜索词条
        void nextStepField(String msg);

    }
}
